package com.xlisteven.echart.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import com.xlisteven.echart.bean.Phone;

@Mapper
@Component
public interface IndexMapper extends MyBaseMapper<Phone>  {
	
	@Select("select iPhone,VIVO,HUAWEI,REDMI,OPPO from phone")
	List<Map<String, Object>> queryJSON();
}
